package com.huping.service;

import com.alibaba.fastjson.JSONObject;
import com.huping.pojo.Homework;
import com.huping.pojo.PageBean;
import com.huping.pojo.Result;

import java.util.Map;

public interface GradeService {
  public   Result getAllStudentsHomeworkByHomeworkId(String teacherId, JSONObject param);

  public Result teacherGiveStudentGrade(Integer homeworkId, String studentId, Integer score,String comment);

  public Result studentGetHupingHomework(String userid, JSONObject param);
  public Result getHomeworkBySequence(String userid, JSONObject param);

  public Result updateHupingScoreInScoreRecord(String userid, JSONObject param);
  public  PageBean selectHistoricalReading(String userid,JSONObject param);
  public Result getTotalNumber(String userid,JSONObject param);
  public  Result getGradeStatistic(JSONObject param);

  public Result getExcellentHomework(JSONObject param);
  public Result  setExcellentHomework(JSONObject param);
  public Result getNotSubmit(JSONObject param);

  public Map<String,Object> getTotal(String userid, JSONObject param);
  public  Result setMethod(JSONObject param);
}
